<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<div class="span12 box-content">
	<div class="well">导入结果:一共导入${report.totalDataCount }个成绩,成功${successCount }个,共失败${report.totalDataCount -successCount}个,失败原因如下</div>
	<c:if test="${report.errorMsg!=null}">
		${report.errorMsg}
	</c:if>
	<c:if test="${report.errorMsg==null}">
	<table class="table table-striped table-bordered">
		<thead>
		 <tr>
		 	<th >题目标题</th>
		 	<th>指导教师成绩</th>
		 	<th>评阅人成绩</th>
		 	<th>答辩成绩</th>
		 	<th>位置</th>
		 	<th>失败原因</th>
		 </tr>
		</thead>   
		<tbody>
		<c:forEach items="${report.dataList }" var="r">
		<tr>
			<td>${r.data.project.name }</td>
			<td>${r.data.sy_score }</td>
			<td>${r.data.py_score }</td>
			<td>${r.data.db_score }</td>
			<td>第${r.errorLine }行</td>
			<td>${r.errorMsg }</td>
		</tr>
		</c:forEach>
		</tbody>
	</table>
	</c:if>
</div>